<template>
  <div id="app">
    <input placeholder="开始吧" />--------
    <dianji :fu="father" @an="an"></dianji>
  </div>
</template>


<script>
import moduleName from "@/views/About.vue";
export default {
  components: {
    dianji: moduleName,
  },
  data() {
    return {
      father: "我是父组件传的值",
    };
  },
  created() {},
  methods: {
    an(c) {
      console.log(c);
    },
  },
};
</script>
<style lang="less">
</style>
